package com.googlecode.exitrule.ui;

import javax.swing.JPanel;
import javax.swing.JTable;

import com.googlecode.exitrule.ui.table.StockBroughtDetailTable;
import com.googlecode.exitrule.ui.table.StockBroughtDetailTableColumnModel;
import com.googlecode.exitrule.ui.table.StockBroughtDetailTableModel;

import java.awt.BorderLayout;

public class StockBroughtDetailPanel extends JPanel {

	private static final long serialVersionUID = 7117170070985580700L;
	private JTable detailTable;

	/**
	 * Create the panel.
	 */
	public StockBroughtDetailPanel() {

		initComponents();
	}

	private void initComponents() {
		setLayout(new BorderLayout(0, 0));
		{
			detailTable = new StockBroughtDetailTable(
					new StockBroughtDetailTableModel(),
					new StockBroughtDetailTableColumnModel());
			add(detailTable, BorderLayout.CENTER);
		}
	}

}
